package com.qf.fmall.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author 王权富贵
 */
@ApiModel(value = "ResStatus响应类", description = "用于返回状态码")
public class ResStatus {
    @ApiModelProperty(value = "OK", dataType = "int", example = "10000")
    public static final int OK = 10000;
    @ApiModelProperty(value = "NO", dataType = "int", example = "10001")
    public static final int NO = 10001;
    @ApiModelProperty(value = "认证成功", dataType = "int", example = "2000")
    public static final int LOGIN_SUCCESS = 2000;
    @ApiModelProperty(value = "用户未登录", dataType = "int", example = "20001")
    public static final int LOGIN_FAIL_NOT = 20001;
    @ApiModelProperty(value = "用户登录失败", dataType = "int", example = "20002")
    public static final int LOGIN_FAIL_OVERDUE = 20002;

}
